package com.ys.malini.dao;

import java.util.*;

import com.ys.malini.model.*;


/**
 * 操作商品
 * 
 * @author terry
 *
 */
@SuppressWarnings("unchecked")
public interface ICommodityDao {

	public TProduct saveProduct(TProduct product);
	public TProductDetail saveProductDetail(TProductDetail productDetail);
	public TProductDetail findProductById(String commodityId);
	public List findCommodityById(String commodityId);
	public List findComInfoById(String commodityId);
	public List findAllProducts();
	public void removeCommodityById(String commodityId);
	public void deteleDetailCommodityById(String commodityId);
	public List queryCommodityDes(String bigClass);
	public TProductDetail updateSubProduct(String subProductId,String productId);
}
